package cn.tedu.zhyl.appointment.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ReservationParam {
    @ApiModelProperty(value = "预约人姓名")
    private String name;
    @ApiModelProperty(value = "预约人手机号")
    private String mobile;
    @ApiModelProperty(value = "预约状态")
    private String status;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预约开始时间")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预约结束时间")
    private Date endTime;
    @ApiModelProperty(value = "预约类型")
    private String type;
}
